<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:70:"D:\wamp64\www\order_system\public/../app/admin\view\garnish\index.html";i:1510196925;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>点餐</title>
    <meta name="keywords" content="点餐">
    <meta name="description" content="点餐">
    <link rel="shortcut icon" href=""> 
    <link href="__CSS__/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__CSS__/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__CSS__/animate.css" rel="stylesheet">
    <link href="__CSS__/style.css?v=4.1.0" rel="stylesheet">
    <link href="__CSS__/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="__CSS__/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <script>
        var base_url = '__APP__/';
    </script>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="jqGrid_wrapper">
                    <table id="garnish"></table>
                    <div id="garnish_pager"></div>
                    <div id="search"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal inmodal" id="editModal" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content animated bounceInRight">
                <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>修改配菜信息</h5>
                        </div>
                        <div class="ibox-content">
                            <form class="form-horizontal m-t" id="editForm" onsubmit="return false;">
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">请选择窗口:</label>
                                    <div class="col-sm-8">
                                        <select name="window_id" class="form-control"></select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">请选择菜单:</label>
                                    <div class="col-sm-8">
                                        <select name="cook_menu_id" class="form-control"></select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">出售价格:</label>
                                    <div class="col-sm-8">
                                        <input name="price" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">计划售出数量:</label>
                                    <div class="col-sm-8">
                                        <input name="plan_number" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">最大售出数量:</label>
                                    <div class="col-sm-8">
                                        <input name="max_number" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">是否可以出售半份:</label>
                                    <div class="col-sm-8">
                                        <select name="is_half" class="form-control">
                                            <option value="0">否</option>
                                            <option value="1">是</option>                                            
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">半份价格:</label>
                                    <div class="col-sm-8">
                                        <input name="half_price" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">排序:</label>
                                    <div class="col-sm-8">
                                        <input name="sort" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">所属时间类型:</label>
                                    <div class="col-sm-8">
                                        <select name="meals_time_id" class="form-control">
                                            <option value="0">早餐</option>
                                            <option value="1">午餐</option>
                                            <option value="2">晚餐</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="pull-left control-label col-sm-3">上架时间:</label>
                                    <div class="data col-sm-8">
                                        <input placeholder="选择日期:" name='start_time' class="form-control layer-date pull-left" id='editstart'>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="pull-left control-label col-sm-3">下架时间:</label>
                                    <div class="data col-sm-8">
                                        <input placeholder="选择日期:" name='end_time' class="form-control layer-date pull-left" id ='editend'>
                                    </div>
                                </div>
                                <input type="hidden" name="id">    
                                <input class="submit" type="submit" value="提交" style="display:none">
                            </form>
                        </div>
                    </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary" id="editButton">修改</button>
                </div>
             </div>
        </div>
    </div>
    <div class="modal inmodal" id="addModal" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content animated bounceInRight">
                <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>添加配菜信息</h5>
                        </div>
                        <div class="ibox-content">
                            <form class="form-horizontal m-t" id="addForm" onsubmit="return false;">
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">请选择窗口:</label>
                                    <div class="col-sm-8">
                                        <select name="window_id" class="form-control"></select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">请选择菜单:</label>
                                    <div class="col-sm-8">
                                        <select name="cook_menu_id" class="form-control"></select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">出售价格:</label>
                                    <div class="col-sm-8">
                                        <input name="price" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">计划售出数量:</label>
                                    <div class="col-sm-8">
                                        <input name="plan_number" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">最大售出数量:</label>
                                    <div class="col-sm-8">
                                        <input name="max_number" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">是否可以出售半份:</label>
                                    <div class="col-sm-8">
                                        <select name="is_half" class="form-control">
                                            <option value="0">否</option>
                                            <option value="1">是</option>                                            
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">半份价格:</label>
                                    <div class="col-sm-8">
                                        <input name="half_price" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">排序:</label>
                                    <div class="col-sm-8">
                                        <input name="sort" class="form-control" type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label">所属时间类型:</label>
                                    <div class="col-sm-8">
                                        <select name="meals_time_id" class="form-control">
                                            <option value="0">早餐</option>
                                            <option value="1" selected>午餐</option>
                                            <option value="2">晚餐</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="pull-left control-label col-sm-3">上架时间:</label>
                                    <div class="data col-sm-8">
                                        <input placeholder="选择日期:" name='start_time' class="form-control layer-date pull-left" id='addstart'>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="pull-left control-label col-sm-3">下架时间:</label>
                                    <div class="data col-sm-8">
                                        <input placeholder="选择日期:" name='end_time' class="form-control layer-date pull-left" id ='addend'>
                                    </div>
                                </div>
                                <input type="reset" value=""  class='reset' style='display:none'>
                                <input class="submit" type="submit" value="提交" style="display:none">
                            </form>
                        </div>
                    </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary" id="addButton">添加</button>
                </div>
             </div>
        </div>
    </div>
    <!-- 全局js -->
    <script src="__JS__/jquery.min.js?v=2.1.4"></script>
    <script src="__JS__/bootstrap.min.js?v=3.3.6"></script>
    <!--右侧列表记录-->
    <script type="text/javascript" src="__JS__/contabs.js"></script>
    
    <!-- jqGrid table表格-->
    <script src="__JS__/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
    <script src="__JS__/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script> 
    <script type="text/javascript" src="__JS__/order/garnish.js"></script>   
    <script type="text/javascript" src="__JS__/order/common.js"></script>
    <!-- Sweet alert 模态框js-->
    <script src="__JS__/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="__JS__/plugins/validate/jquery.validate.min.js"></script>
    <script src="__JS__/plugins/validate/messages_zh.min.js"></script>
    <script src="__JS__/plugins/layer/laydate/laydate.js"></script>  
    <!-- <script src="__JS__/demo/form-validate-demo.js"></script>        -->
</body>
</html>
